package com.dy.video.service;

import com.kaoshi.common.config.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(name = "service-employee")
public interface GoodsFeignClient {

    @PostMapping("goods/xq/{id}")
    public Result getGoodsDetail(@PathVariable("id") Integer id);
}
